﻿@model Dazaza.UI.Mvc.Models.BaseViewModel
@using Dazaza.UI.Mvc.Models;
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@Model.MasterViewModel.HeaderInfo.PageTitle</title>
    <link rel="Shortcut Icon" href="http://img.diglog.com/Images/favicon.ico" type="image/x-icon" />
    <link title="RSS" href="http://www.diglog.com/rss" type="application/rss+xml" rel="alternate" />
    <link href="http://img.diglog.com/style/CSS.css?v=4" type="text/css" rel="stylesheet" />
    <link href="/css/ext.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="http://img.diglog.com/js/jquery-1.4.2.min.js"
        charset="utf-8"></script>
    <script type="text/javascript" src="http://img.diglog.com/js/js.js?v=3" charset="utf-8"></script>
</head>
<body>

    @{
        bool isUpcoming = Model.Tab == Enums.EnumTab.Upcoming;
        bool isHot = Model.Tab == Enums.EnumTab.Hot;
        bool isSubmit = Model.Tab == Enums.EnumTab.Submit;
        bool isExplore = Model.Tab == Enums.EnumTab.Explore;
    }
    <div id="wrap2">
        <div id="wrap3">
            <div class="header">
                <div id="loginbox">
                    <div class="header_search" style="display:none;">
                        <img alt="rss" src="http://img.diglog.com/images/rss.png" /><a href="/subfeed.aspx">订阅</a>
                        &nbsp;&nbsp;<img border="0" src="http://img.diglog.com/images/sina/LOGO_32x32.png"
                            width="18" height="18" /><a href="http://t.sina.com.cn/diglog" target="_blank">微博</a>
                        &nbsp;&nbsp;<a target="_blank" href="/search.aspx">站内搜索</a>:
                        <input name="Header_tbSearch" type="text" size="32" id="Header_tbSearch" />
                        <input style="" type="button" onclick="Search(Header_tbSearch.value);" value=" 搜索">
                    </div>
                    <div id="account_bar">
                        <ul>
                            <li  style="display:none;">
                                <asp:label runat="server" id="lblLoginBox"></asp:label>
                                &nbsp;&nbsp;<img alt="tools" src="http://img.diglog.com/images/wrench.png" width="16"
                                    height="16" /><a href="/tools/">工具</a> &nbsp;&nbsp; </li>
                        </ul>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div id="header_next">
                    <div class="logo">
                        <a href="/" title="奇客发现" class="without_bgcolor">
                            <img src="http://img.diglog.com/Images/logo.v2.gif" alt="diglog" /></a></div>
                    <div id="menubox">
                        <div class="@(isUpcoming?"menu menuupcoming":"menu menuhot")">
                            <ul>
                                <li @(isHot?"class=current":"")><a href="/">首页热点</a></li>
                                <li @(isUpcoming?"class=current":"")><a href="/upcoming">新发现</a></li>
                                @Model.Mine
                                <li @(isExplore?"class=current":"") id="menu_explore" style="margin-left:30px;">
                                    <a href="/explore"><span>随便逛逛</span></a></li>
                                <li style="display:none;" @(isSubmit?"class=current":"") id="submit_link_v2"><a href="/submit.aspx?fm=menu">
                                    <span>投递你的新奇发现</span></a> </li>
                            </ul>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="submenu @(isUpcoming?"submenuupcoming":"submenuhot")">
                            <div id="submenu_hotorupcoming">
                                
                                <ul id="submenu_subcategory">
                                @foreach (var item in Model.MasterViewModel.CategoryList)
                                {
                                    <li>
                                    <a href="@("/"+(isUpcoming?"upcoming_":string.Empty)+item.Name_En)">@item.Name</a>
                                    </li>

                                }
                                </ul>

                                <ul>
                                    @Model.lblHotORUpcoming
                                </ul>
                            </div>
                            &nbsp;<div class="clear">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="clear">
            </div>
            @RenderBody()
            <!-- footer -->
            <div class="footer2">
                <div>
                    <a href="/about.aspx">关于我们</a> <a href="/contact.aspx">联系我们</a> <a href="/faq.aspx">
                        常见问题</a> <a href="/tos.aspx">用户条款</a> <a href="/privacy.aspx">隐私政策</a> <a href="/tools.aspx">
                            工具</a> <a href="/supporters.aspx">支持者</a> <a href="/m">手机版</a> &nbsp;<a href="http://t.sina.com.cn/diglog"
                                target="_blank">在微博<img border="0" src="http://img.diglog.com/images/sina/LOGO_16x16.png" /></a>
                </div>
                <div>
                    &nbsp;&nbsp; 订阅本站到:<script type="text/javascript">                                           GetSubFeedCode();</script>
                </div>
                <div>
                    Copyright &copy;2005 -2012 DIGLOG.COM All Rights Reserved.
                </div>
                <div>
                    备案 <a href="http://www.miibeian.gov.cn/">豫ICP备10208362号</a>
                </div>
            </div>
        </div>
    </div>

</body>
</html>
